package com.zs.toolbox.web2j.system.core.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author shuai.zhang  on 2018/9/28
 * @description
 */
@ApiModel("查询子组权限")
@Data
public class WtSubPermissionRequest {
    @ApiModelProperty(value = "要查询的父级权限代码", example = "11")
    @NotNull
    String permissionCode = "";

    @ApiModelProperty(value = "是否递归所有权限", required = false, example = "true")
    @NotNull
    Boolean recursion = true;
}
